<?php

$server = 'localhost';
$db = 'Minke';

// Connect to MSSQL
$sqlcon = mssql_connect($server, 'phpuser', 'Password123');

if (!$sqlcon) {
    die('Could not connect to SQL server');
}

// Select database
$dbcon = mssql_select_db($db, $sqlcon); 

if (!$dbcon) {
    die('Could not connect to database');
}


?> 